﻿@using MyFileView.Shard.Model;
@model  PreviewFileResponseModel
@{
    Layout = null;

}

    @if (Model != null)
    {

            <h2>Preview</h2>

            @Model.Name


            foreach (var item in Model.Url)
            {
                var url = Request.UrlReferrer + item;

                <table border="1" cellspacing="0" align="center">
                    <thead>
                        <tr>
                            <th scope="col">    <image src="@url" alt="未找到文件" width="@Model.Width" height="@Model.Height"></image></th>
                        </tr>
                    </thead>
                </table>
            }
     }
 
